package com.example.mainstream.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;

import java.io.Serializable;

/**
 * 描述：TOOD
 */
@Entity
public class Goods implements Serializable {
    private static final long serialVersionUID = 1L;
    @Id(autoincrement = true)
    private long id;
    private String title;//产品
    private long userid;//用户id
    private int num;//数量

    private String url;//图片
    private String content;//介绍
    private String price;//价格
    private String goods_type;//类型

    private String address;//产地
    private String detail_address;//详细地址
    private String time;//上线时间



    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public long getUserid() {
        return userid;
    }

    public void setUserid(long userid) {
        this.userid = userid;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getDetail_address() {
        return detail_address;
    }

    public void setDetail_address(String detail_address) {
        this.detail_address = detail_address;
    }

    public String getIsHelpPoor() {
        return isHelpPoor;
    }

    public void setIsHelpPoor(String isHelpPoor) {
        this.isHelpPoor = isHelpPoor;
    }

    private  String isHelpPoor;// 0 不是 1是



    @Generated(hash = 208384358)
    public Goods(long id, String title, long userid, int num, String url,
            String content, String price, String goods_type, String address,
            String detail_address, String time, String isHelpPoor) {
        this.id = id;
        this.title = title;
        this.userid = userid;
        this.num = num;
        this.url = url;
        this.content = content;
        this.price = price;
        this.goods_type = goods_type;
        this.address = address;
        this.detail_address = detail_address;
        this.time = time;
        this.isHelpPoor = isHelpPoor;
    }

    @Generated(hash = 1770709345)
    public Goods() {
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getGoods_type() {
        return goods_type;
    }

    public void setGoods_type(String goods_type) {
        this.goods_type = goods_type;
    }
}
